package com.cloud.model;

import java.util.Date;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document
public class MJCardsType implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1115593425069549681L;

	@Id
	private String id;
	private String name;
	private String code;
	private Date createtime;

	private String game; // 游戏类型， 麻将
	private String creater;
	private String username;
	private Date updatetime;
	private String parentid; // 父级ID ， 分类ID

	private String cardstypes; // 胡牌要求的牌型，胡牌牌型的基本要求

	private String gang; // 必须有|不得有|无要求
	private String peng; // 必须有|不得有|无要求
	private String chi; // 必须有|不得有|无要求

	private String pair; // 必须有将|不得有将|全部是将|无要求

	private boolean self; // 必须自摸

	private boolean last; // 海底捞
	private boolean lastgang; // 杠上花

	private int rate;

	private String orgi;
}
